<template>
    <div class="common-layout">
      <el-container>
        <!-- 首页 -->
        <el-aside width="200px">Aside</el-aside>
        <el-container>
          <el-header>Header</el-header>
          <el-main>Main</el-main>
        </el-container>
      </el-container>
    </div>
  </template>
  <script setup>
  </script>
<style lang="scss">
.common-layout{
    .el-aside{
        background-color: pink;
    }
    .el-header{
        background-color: gold;
    }
    .el-main{
        background-color: burlywood;
    }
}
// 高度100%
.el-aside,.el-container,.common-layout,#app,body,html{
    height: 100%;
}
</style>